package com.aia.prm.web;

import java.util.List;

import org.apache.log4j.Logger;

import com.aia.prm.domain.VOPlan;
import com.aia.prm.service.DefaultService;
import com.cfh.util.Tools;
import com.opensymphony.xwork2.ActionSupport;

@SuppressWarnings("serial")
public class IndexAction extends ActionSupport {
	public String execute() {
		if (logger.isDebugEnabled()) {
			logger.debug("execute() - start"); //$NON-NLS-1$
		}

		defaultService.getAllPlan(this);
		return Tools.smartReturn(this);
	}

	private static final Logger logger = Logger.getLogger(IndexAction.class);

	private List<VOPlan> list1;
	private List<VOPlan> list2;
	private List<VOPlan> list3;

	public List<VOPlan> getList1() {
		return list1;
	}

	public void setList1(List<VOPlan> list1) {
		this.list1 = list1;
	}

	public List<VOPlan> getList2() {
		return list2;
	}

	public void setList2(List<VOPlan> list2) {
		this.list2 = list2;
	}

	public List<VOPlan> getList3() {
		return list3;
	}

	public void setList3(List<VOPlan> list3) {
		this.list3 = list3;
	}

	public DefaultService getDefaultService() {
		return defaultService;
	}

	public void setDefaultService(DefaultService defaultService) {
		this.defaultService = defaultService;
	}

	private DefaultService defaultService;
}
